package model

type Customer struct {
	Id     int
	Name   string
	Gender string
	Age    int
	Phone  string
	Email  string
}

// 编写一个工厂模式, 返回一个Customer 的实例
func NewCustomer(id int, name string, gender string, age int, phone string, email string) Customer {
	return Customer{Id: id, Name: name, Gender: gender, Age: age, Phone: phone, Email: email}
}
